package com.shuiyun.jtt.message.jt808;

import com.shuiyun.jtt.anno.Message;
import com.shuiyun.jtt.enums.JT808;
import com.shuiyun.jtt.message.JTMessage;
import com.shuiyun.jtt.utils.codec.DataType;
import com.shuiyun.jtt.utils.codec.FieldValue;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author shuiyun
 * @program device-simulator
 * @description 定位查询响应
 * @date 2022-04-28 21:19
 **/
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Data
@Message(value = {JT808.位置信息查询应答0x0201,JT808.车辆控制应答0x0500})
public class T0201And0500 extends JTMessage {

    @FieldValue(type = DataType.WORD,desc = "流水号")
    private Integer serialNo;

    @FieldValue(type = DataType.OBJ,desc = "流水号")
    private T0200 location;
}
